package com.jsnkj.basic.bean

import java.io.Serializable


/**
 * 广告配置
 */
class AdSettingBaseEntity : Serializable {
    var media_id: String? = null
    var list: List<AdSettingListBean>? = null
    override fun toString(): String {
        return "AdSettingBaseEntity(media_id=$media_id, list=$list)"
    }
}


class AdSettingListBean {
    /**
     * id : 1
     * adtype_id : 1
     * value : 1777628064277086255
     * override_reward_rate : 0.00
     * status : enabled
     * created_at : 2024-04-29 16:10:31
     * updated_at : 2024-04-29 16:10:31
     * reward_rate : 0.50
     * position : shorts
     * adtype : {"id":1,"name":"短视频广告","position":"shorts","status":"enabled","reward_rate":"0.50","created_at":"2024-04-29 16:10:31","updated_at":"2024-04-29 16:10:31"}
     */
    var id = 0
    var adtype_id = 0
    var value: String? = null
    var override_reward_rate: String? = null
    var status: String? = null
    var created_at: String? = null
    var updated_at: String? = null
    var reward_rate: String? = null
    var position: String? = null
    var adtype: AdTypeBean? = null
    var reward_num:Int? = 0
    override fun toString(): String {
        return "AdSettingListBean(id=$id, adtype_id=$adtype_id, value=$value, override_reward_rate=$override_reward_rate, status=$status, created_at=$created_at, updated_at=$updated_at, reward_rate=$reward_rate, position=$position, adtype=$adtype,reward_num=$reward_num)"
    }


}


class AdTypeBean {
    /**
     * id : 1
     * name : 短视频广告
     * position : shorts
     * status : enabled
     * reward_rate : 0.50
     * created_at : 2024-04-29 16:10:31
     * updated_at : 2024-04-29 16:10:31
     */
    var id = 0
    var name: String? = null
    var position: String? = null
    var status: String? = null
    var reward_rate: String? = null
    var created_at: String? = null
    var updated_at: String? = null
    override fun toString(): String {
        return "AdTypeBean(id=$id, name=$name, position=$position, status=$status, reward_rate=$reward_rate, created_at=$created_at, updated_at=$updated_at)"
    }


}
